package com.hengpeng.itfin.service;

import com.hengpeng.common.exception.ServiceResult;
import com.hengpeng.itfinbase.message.partner.TransferRequest;
import com.hengpeng.itfinbase.message.partner.TransferResponse;
import com.hengpeng.itfinbase.persist.Transfer;

/**
 * <pre>
 * 转账系统服务接口
 * </pre>
 * 
 * @author zhaojitao
 * @version 1.0, 2015-6-4
 */
public interface TransferService {

    /**
     * <pre>
     * 包装充值请求实体（保存本地转账信息）
     * </pre>
     */
    public void packTransferRequest(TransferRequest request);

    /**
     * <pre>
     * 处理转账结果
     * </pre>
     * 
     * @param msg
     * @return
     */
    public ServiceResult<Transfer> dealTransferResult(TransferResponse msg);

}